home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
util
/
conv
/
CPC.lha
/
InstallCPC
< prev
next >
Wrap
Text File
|
1997-10-02
|
3KB
|
154 lines
;
; $VER: InstallCPC v1.0 (22.09.97)
;
; Installation script for Code Page Converter made by Andrija Antonijevic
;
; Copyright ©1997 Andrija Antonijevic <TheAntony@bigfoot.com>
;
; All rights reserved
;
(if (= @language "srpski")
(
(set Where "Gde biste hteli da instalirate Code Page Converter?")
(set WhereDoc "Gde biste hteli da prekopirate dokumentaciju?")
(set What "Ãta biste hteli da instalirate?")
(set WhatHelp
(cat "CPC je glavni program i trebalo bi da ga instalirate.\n\n"
"CPC_English.guide je dokumentacija na engleskom (opciono).\n\n"
"CPC_srpski.guide je dokumentacija na srpskom (opciono).\n\n"
"CPC.catalog je neophodan ako hoáete da CPC bude "
"na srpskom (opciono).\n\n"
"CPC.dopus je ARexx skripta za DOpus 4 koji Vam omoguáava "
"da pozivate CPC iz DOpus-a (opciono). Biáe prekopirana u REXX:\n\n"
)
)
(set NoLocale
(cat "CPC.catalog nije prekopiran jer na Vaãem sistemu "
"ne postoji assign LOCALE:"
)
)
(set DefWhat 29)
)
; else
(
(set Where "Where would you like to install Code Page Converter?")
(set WhereDoc "Where would you like to copy the documentation?")
(set What "What would you like to install?")
(set WhatHelp
(cat "CPC is the main program and you should install it.\n\n"
"CPC_English.guide is the documentation in English (optional).\n\n"
"CPC_srpski.guide is the documentation in Serbian (optional).\n\n"
"CPC.catalog is necessary if you want CPC to be in "
"Serbian (optional).\n\n"
"CPC.dopus is an ARexx script for DOpus 4 which makes "
"using CPC from DOpus easier (optional). It will be copied to
"REXX:\n\n"
)
)
(set NoLocale
(cat "CPC.catalog was not copied becouse there is no LOCALE: "
"assign on your system."
)
)
(set DefWhat 3)
)
)
(set CurrDir (pathonly @icon))
(set WhereDocDir "Not set")
(set CPCDir
(askdir
(prompt Where)
(help @askdir-help)
(default "C:")
)
)
(set Choose
(askoptions
(prompt What)
(help WhatHelp)
(choices "CPC" "CPC_English.guide" "CPC_srpski.guide" "CPC.catalog" "CPC.dopus")
(default DefWhat)
)
)
(if (bitand 1 Choose)
(copyfiles
(source "CPC")
(dest CPCDir)
(infos)
)
)
(if (bitand 2 Choose)
(
(if (= WhereDocDir "Not set")
(set WhereDocDir
(askdir
(prompt WhereDoc)
(help @askdir-help)
(default "HELP:English")
)
)
)
(copyfiles
(source "CPC_English.guide")
(dest WhereDocDir)
(infos)
)
)
)
(if (bitand 4 Choose)
(
(if (= WhereDocDir "Not set")
(set WhereDocDir
(askdir
(prompt WhereDoc)
(help @askdir-help)
(default "HELP:srpski")
)
)
)
(copyfiles
(source "CPC_srpski.guide")
(dest WhereDocDir)
(infos)
)
)
)
(if (bitand 8 Choose)
;then
(
(if (not (exists "LOCALE:" (noreq)))
;then
(message NoLocale)
;else
(
(copyfiles
(source (tackon CurrDir "Catalogs"))
(dest "LOCALE:Catalogs")
(all)
)
)
)
)
)
(if (bitand 16 Choose)
(copyfiles
(source "CPC.dopus")
(dest "REXX:")
(infos)
)
)
(set @default-dest CPCDir)
(exit)